package com.evil.Servlet;

import com.evil.DAO.IntegralDAO;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/********************************************
 * 工程名：Web
 * 包名：${PACKAGE_NAME}
 * 时间：16-9-12 下午8:24
 * 作者：白雨濃 evil
 * 邮箱：evilbai@foxmail.com
 * 内容：查询积分
 ********************************************/
public class IntegralServlet extends BaseServlet
{
    private String phone;
    private String imei;

    @Override
    public void doPost()
    {
        phone = getParameter("phone");
        imei = getParameter("imei");

        print(new IntegralDAO().findIntegral(phone));
    }
}
